package com.fanshilz.flower2025.business.flower.project.entity;

import com.mybatisflex.annotation.EnumValue;
import io.github.linpeilie.annotations.AutoEnumMapper;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@AutoEnumMapper("value")
public enum ProjectStatusEnum {

    WAIT_CHECK(0, "审核中"),
    REJECT(1, "已驳回"),
    PASS(2, "审核通过"),
    WAIT_LISTED(3, "待上架"),
    PUTAWAY(4, "已上架"),
    COMPLETE_TRANSACTION(5, "交易完成"),
    IN_TRADING(6, "交易中"),
    DELIST(7, "已下架"),

    ;

    @EnumValue
    private final Integer value;
    private final String lable;

}
